<?php

namespace app\http\middleware;

use think\facade\Log as Logs;

class Log
{

    public function handle($request, \Closure $next)
    {
        $getParam = $request->param();
        Logs::error(json_encode($getParam, JSON_UNESCAPED_UNICODE));

        return $next($request);
    }

}
